]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search-entry: Fix clicks on the clear icon
authorNohemi Fernandez <nf68@cornell.edu>
Thu, 7 Apr 2011 16:52:54 +0000 (12:52 -0400)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 7 Apr 2011 22:28:42 +0000 (00:28 +0200)
onTextChanged() called a non-existent method, fix that

https://bugzilla.gnome.org/show_bug.cgi?id=647098

js/ui/viewSelector.js

index 35e7aae8b50d4d5103e9db2a6be9ef122f1c4fda..87e3e8a8e9a5e9cfd0dacb55e1b52228bf33f51f 100644 (file)
@@ -226,7 +226,7 @@ SearchTab.prototype = {
             if (this._iconClickedId == 0) {
                 this._iconClickedId = this._entry.connect('secondary-icon-clicked',
                     Lang.bind(this, function() {
-                        this.reset();
+                        this._reset();
                     }));
             }
             this._activate();